Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add prop accessibilityState for Menu.Item #3724

Merged
merged 1 commit into from
Mar 6, 2023

Conversation

brunohkbx
Copy link
Collaborator

Summary

The component Menu.Item accepts a prop icon which is useful when displaying a multi-selectable list of options with a checkbox. In this case, the accessibilityState checked makes total sense to be used.

Test plan

A new test was added to exercise this change.

@brunohkbx brunohkbx added the Menu label Mar 4, 2023
@brunohkbx brunohkbx requested a review from lukewalczak March 4, 2023 23:24
@github-actions
Copy link

github-actions bot commented Mar 4, 2023

The mobile version of example app from this branch is ready! You can see it here.

@lukewalczak lukewalczak merged commit 0249f37 into main Mar 6, 2023
@lukewalczak lukewalczak added this to the 5.3.0 milestone Mar 6, 2023
@brunohkbx brunohkbx deleted the feat/accessibility-for-menu-item branch March 6, 2023 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants